﻿CREATE FUNCTION [dbo].[ProjectsForManager]
(@managerUserID INT)
RETURNS TABLE 
AS
RETURN 
    (
	
SELECT     ProjectID, Name, StatusID
FROM         Projects
WHERE     (ManagerUserID = @managerUserID)
)


